﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace PersistentObject.Common.Criteria
{
    /// <summary>
    /// Represent a value operand
    /// </summary>
    public class OperandValue : Operand
    {
        /// <summary>
        /// The constructor of the value operand
        /// </summary>
        /// <param name="value"></param>
        public OperandValue(object value)
        {
            Value = value;
            //ParamIndex = Operand.Counter++;
        }

        /// <summary>
        /// Indicate the real value
        /// </summary>
        public object Value { get; private set; }
        /// <summary>
        /// Indicate the index which is used as the suffix
        /// </summary>
        //public int ParamIndex { get; private set; }
    }
}
